package com.lanxin.service.dept.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by cyh on 2021/3/8.
 */
@Component
@FeignClient("deptservice")
public interface DeptService {

    @RequestMapping("dept/listdept")
    public String listdept();
}
